package com.y.ari.service;

import com.y.ari.common.RestResponse;
import com.y.ari.dto.OrdersFormDTO;
import com.y.ari.dto.OrdersSelDTO;
import com.y.ari.dto.PageDTO;
import com.y.ari.entity.PageParams;

import java.util.List;

/**
 * <p>
 * 订单信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-04-26
 */
public interface OrdersService {

    RestResponse addOrder(OrdersFormDTO ordersFormDTO);

    public RestResponse payOrder(Long id);

    public List<OrdersSelDTO> selOrders();

    RestResponse mOrder(Long id);

    RestResponse delOrder(Long id);

    PageDTO selOrdersM(PageParams pageParams);
}
